<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Quản lý tài khoảng</title>
<link rel="stylesheet" href="css/calendar.css" />
<script src="js/calendar/jquery-1.8.3.js"></script>
<script src="js/calendar/jquery-ui.js"></script>
<script>
	$(function() {
		$("#datepicker").datepicker();
	});
</script>
</head>
<%
	String getSess = (String) session.getAttribute("email");
	String getCookk = null;
	Cookie[] cookies = request.getCookies();
	if (cookies != null) {
		for (int i = 0; i < cookies.length; i++) {
			if (cookies[i].getName().equals("email")) {
				getCookk = cookies[i].getValue();
				break;
			}
		}
	}
	if(getSess==null&&getCookk==null){
		response.sendRedirect("index.jsp");
	}
%>
<body>
	<form action="UpdateAccount" method="post">
		<center>
			<table>
				<tr>
					<td colspan="2"><h3>Thêm Thông Tin Tài Khoản</h3></td>
				</tr>
				<tr>
					<td>Ngày sinh :</td>
					<td><input type="text" id="datepicker" name="date" /></td>
				</tr>
				<tr>
					<td>Số Điện thoại:</td>
					<td><input type="text" name="phone"></td>
				</tr>
				<tr>
					<td>Phái:</td>
					<td><input type="radio" name="sex" value="Nam"
						checked="checked" />Nam <input type="radio" name="sex" value="Nu" />Nữ
					</td>
				</tr>
				<tr>
					<td></td>
					<td><input type="submit" value="Cập nhật thông tin"> </td>
				</tr>
			</table>

		</center>

	</form>

</body>
</html>